package com.lp.business.model;

import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.iframework.support.spring.hibernate.model.BaseHibernateModelSupport;

/**
 * 行业分类信息模型
 * 
 * @author lp
 * @date 2018-08-08 18:23:41
 */
@Entity
@Table(name = "industry")
@org.hibernate.annotations.Table(appliesTo = "industry", comment = "行业分类信息模型")
public class Industry extends BaseHibernateModelSupport {
	private static final long serialVersionUID = 1L;
	/** 名称 */
	@Column(columnDefinition = "varchar(64)  comment '名称'")
	private String name;
	
	/** 行业订阅价 */
	@Column(columnDefinition = "DECIMAL(20,2) comment '行业订阅价'")
	private BigDecimal price;
	
	/** 描述信息 */
	@Column(columnDefinition = "varchar(1024)  comment '描述信息 '")
	private String description;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

}
